<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>test upload</title>
<style type="text/css">
table{
    border: 1px solid black;
    table-layout: fixed;
    width: 600px;
}

th, td {
    border: 1px solid black;
    overflow: hidden;
    width: 100px;
}
</style>
</head>
<Body>
<!-- 1 -->
<form id="EventForm" name="EventForm" action="uploadAppData" method="post" enctype="multipart/form-data">
		<h2>AIP test upload</h2>
		<Table broder="1">
		<TR><TD>session:<input type="text" id="session" name="session" value="babc3434343"></TD><TD>phone:<input type="text" id="phoneNum" name="phoneNum" value="12345678912"></TD></TR>
		<TR><TD>device:<input type="text" id="device" name="device" value="1"></TD><TD>deviceVerNum:<input type="text" id="deviceVerNum" name="deviceVerNum" value="1.0.0"></TD></TR>
		<TR><TD>lang:<input type="text" id="lang" name="lang" value="CN"></TD><TD>appVerNum:<input type="text" id="appVerNum" name="appVerNum" value="4.0.0"></TD></TR>
		<TR><TD>userId:<input type="text" id="userId" name="userId" value="admin01"></TD><TD>typeId:<input type="text" id="type" name="type" value="1"></TD></TR>
		<TR><TD>appData:<input type="text" id="appData" name="appData" value=""></TD><TD></TD></TR>
		<!--         
		<TR><TD>address:<input type="text" id="address" name="address" value=""></TD><TD>email:<input type="text" id="email" name="email" value=""></TD></TR>
		<TR><TD>city:<input type="text" id="city" name="city" value=""></TD>
		    <TD>areaId:<input type="text" id="areaId" name="areaId" value=""></TD>
		     -->
		</TR>
		</Table>
	<!-- 	userLoveMomentId:<input type="text" id="userLoveMomentId" name="userLoveMomentId"> -->
		<input type="submit" style="width: 200px" value="upload""/>
</form>
<script>
function checkSubmitParam(){
	var formElement = document.getElementById("EventForm");
	var userId = document.getElementById("userId");
	var session = document.getElementById("session");
	formElement.action = "/uploadAppData";
	formElement.submit();
}

</script>
</BODY>
</html>